import request from '@/relyon/request'

// 获取小说详情
export function getFictionDetail(id){
    return request({
        url : '/fiction/detail/' + id,
        method : 'get',
    })
}

// 开启小说定时更新
export function FictionTimeUpdate(long){
    return request({
        url : '/fiction/timeUpdate/' + long,
        method : 'get',
    })
}


// 获取小说筛选列表
export function getFictionQueryData(){
    return request({
        url : '/fiction/queryData',
        method : 'get',
    })
}


// 获取小说筛选列表
export function getFictionList(params){
    return request({
        url : '/fiction/list',
        method : 'get',
        params
    })
}


export default {
    getFictionDetail,
    FictionTimeUpdate,
    getFictionQueryData,
    getFictionList
}